<template>
  <router-view :key="key"  />
</template>
<script setup lang="ts">
import { computed } from 'vue';
import { useRouter } from 'vue-router';

const router = useRouter();
const key = computed(() => {
  return router.currentRoute.value.fullPath;
});
</script>
